<?php


    class SettingForm extends CFormModel
    {
        public $title;
        public $address;
        public $keywords;
        public $backups;
        public $port;
        private $_identity;

        public function rules()
        {
            return array(
                // username and password are required
                array('title', 'required'),
                array('title,keywords','length','min'=>'0','max'=>'32'),
                array('backups,port','numerical'),
                array('address','url'),
            );
        }




    }